In some cases it may be useful to identify a device, e.g. when using multiple
devices, or when using vendor specific keys. In such situations, the DeviceID
may prove useful. The DeviceID is a 32-bit number, presented in 8-digit
hexadecimal format, is built from the VendorID and ProductID reported by the
product itself.
The first half of the number (i.e. the top 16 bits) is the VendorID (e.g.
046d for Logitech, or 045e for Microsoft)
In the example shown here, the red part represents the VendorID which is
046d, resolving as 'Logitech', and the yellow part represents the ProductID
c504, which is a wireless keyboard & mouse combination.
|